package com.learning.springmybatis.dao;


import com.learning.springmybatis.entity.User;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

@Mapper
public interface UserMapper {
    @Select("select * from user where id= #{id}")
    User getName(Integer id);
}
